SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{c00baf820cc9a7501a8bebeadb72cc7a612a6e552afcf12078affb6647621050}Chon{c00baf820cc9a7501a8bebeadb72cc7a612a6e552afcf12078affb6647621050}' OR prCity = 'Chon' OR prZip = 'Chon' OR prStreet LIKE '{c00baf820cc9a7501a8bebeadb72cc7a612a6e552afcf12078affb6647621050}Chon{c00baf820cc9a7501a8bebeadb72cc7a612a6e552afcf12078affb6647621050}' OR prCountry = 'Chon') AND (prLocation LIKE '{c00baf820cc9a7501a8bebeadb72cc7a612a6e552afcf12078affb6647621050}Buri{c00baf820cc9a7501a8bebeadb72cc7a612a6e552afcf12078affb6647621050}' OR prCity = 'Buri' OR prZip = 'Buri' OR prStreet LIKE '{c00baf820cc9a7501a8bebeadb72cc7a612a6e552afcf12078affb6647621050}Buri{c00baf820cc9a7501a8bebeadb72cc7a612a6e552afcf12078affb6647621050}' OR prCountry = 'Buri') AND (prLocation LIKE '{c00baf820cc9a7501a8bebeadb72cc7a612a6e552afcf12078affb6647621050}Thailand{c00baf820cc9a7501a8bebeadb72cc7a612a6e552afcf12078affb6647621050}' OR prCity = 'Thailand' OR prZip = 'Thailand' OR prStreet LIKE '{c00baf820cc9a7501a8bebeadb72cc7a612a6e552afcf12078affb6647621050}Thailand{c00baf820cc9a7501a8bebeadb72cc7a612a6e552afcf12078affb6647621050}' OR prCountry = 'Thailand')